<template>
  <div>
    <Editor v-model="content" />
    <div>
      <h3>编辑器内容:</h3>
      <div v-html="content"></div>
    </div>
  </div>
</template>
<script setup>
import Editor from "@/components/Editor.vue";
import { ref } from "vue";

// 组件列表
const components = { Editor };

const content = ref("");
</script>